package com.yiyahui.project.erp.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yiyahui.framework.aspectj.lang.annotation.Excel;
import com.yiyahui.framework.web.domain.BaseEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 划扣步骤对象 yiya_deduct_step
 * 
 * @author yiyahui
 * @date 2020-05-12
 */

@ApiModel(value="划扣步骤对象")
public class YiyaDeductStep extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long id;

    /** 划扣方案id */
    @ApiModelProperty(value="划扣方案id")
    @Excel(name = "划扣方案id")
    private Long deductProgramId;

    /** 排序 */
    @ApiModelProperty(value="排序")
    @Excel(name = "排序")
    private Integer sn;

    /** 治疗步骤 */
    @ApiModelProperty(value="治疗步骤")
    @Excel(name = "治疗步骤")
    private String step;

    /** 划扣比例 */
    @ApiModelProperty(value="划扣比例")
    @Excel(name = "划扣比例")
    private String scale;

    /** 默认划扣次数 */
    @ApiModelProperty(value="默认划扣次数")
    @Excel(name = "默认划扣次数")
    private Integer times;

    /** 多次扣除 0 否 1 是 */
    @ApiModelProperty(value="多次扣除 0 否 1 是")
    @Excel(name = "多次扣除 0 否 1 是")
    private Integer isMoreDeduct;

    /** 可跳过 0 否 1 是 */
    @ApiModelProperty(value="可跳过 0 否 1 是")
    @Excel(name = "可跳过 0 否 1 是")
    private Integer isJump;

    /** 是否审批 0 否 1 是 */
    @ApiModelProperty(value="是否审批 0 否 1 是")
    @Excel(name = "是否审批 0 否 1 是")
    private Integer isApproval;

    /** 关联随访规则 */
    @ApiModelProperty(value="关联随访规则")
    @Excel(name = "关联随访规则")
    private String relevance;

    /** 备注 */
    @ApiModelProperty(value="备注")
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeductProgramId(Long deductProgramId) 
    {
        this.deductProgramId = deductProgramId;
    }

    public Long getDeductProgramId() 
    {
        return deductProgramId;
    }
    public void setSn(Integer sn) 
    {
        this.sn = sn;
    }

    public Integer getSn() 
    {
        return sn;
    }
    public void setStep(String step) 
    {
        this.step = step;
    }

    public String getStep() 
    {
        return step;
    }
    public void setScale(String scale) 
    {
        this.scale = scale;
    }

    public String getScale() 
    {
        return scale;
    }
    public void setTimes(Integer times) 
    {
        this.times = times;
    }

    public Integer getTimes() 
    {
        return times;
    }
    public void setIsMoreDeduct(Integer isMoreDeduct) 
    {
        this.isMoreDeduct = isMoreDeduct;
    }

    public Integer getIsMoreDeduct() 
    {
        return isMoreDeduct;
    }
    public void setIsJump(Integer isJump) 
    {
        this.isJump = isJump;
    }

    public Integer getIsJump() 
    {
        return isJump;
    }
    public void setIsApproval(Integer isApproval) 
    {
        this.isApproval = isApproval;
    }

    public Integer getIsApproval() 
    {
        return isApproval;
    }
    public void setRelevance(String relevance) 
    {
        this.relevance = relevance;
    }

    public String getRelevance() 
    {
        return relevance;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deductProgramId", getDeductProgramId())
            .append("sn", getSn())
            .append("step", getStep())
            .append("scale", getScale())
            .append("times", getTimes())
            .append("isMoreDeduct", getIsMoreDeduct())
            .append("isJump", getIsJump())
            .append("isApproval", getIsApproval())
            .append("relevance", getRelevance())
            .append("remarks", getRemarks())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
